from all_sort import *
n=[[13,11,10,4,7],
   [13,10,10,8,5],
   [5,9,7,7,4],
   [15,12,10,11,5],
   [10,11,8,8,4]]
arr=[]
def biggest():
    all_sort([x for x in range(0,len(n))],[],lambda x: arr.append(x))
    print(arr)
    n2=[sum([n[i.index(j)][j] for j in i]) for i in arr]
    n1=[i for i in arr]
    n3=[[n[i.index(j)][j] for j in i] for i in arr]
    maxn=(max(n2),n1[n2.index(max(n2))],n3[n2.index(max(n2))])
    return maxn
print(biggest())